package de.hska.reka.websockets.annotationProcessors;

import org.springframework.beans.factory.config.BeanPostProcessor;
import org.springframework.stereotype.Component;

import de.hska.reka.websockets.annotations.WebSocket;
import de.hska.reka.websockets.annotations.WebSocketCallback;
import de.hska.reka.websockets.annotations.WebSocketRef;

@Component
public class WebsocketServerProcessor extends WebsocketProcessor {

	public WebsocketServerProcessor() {
		otherProcessors = new BeanPostProcessor[] {
				new WebsocketAnnotationProcessor(WebSocket.class),
				new WebsocketCallbackAnnotationProcessor(WebSocketCallback.class),
				new WebsocketAnnotationProcessor(WebSocketRef.class), 
				new WebsocketAddressProcessor(),
		};
	}
}
